package com.rui.study.commons.study.entity;

import lombok.Getter;
import lombok.Setter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.Serializable;

@Getter
@Setter
public class DevDepartment implements Department, Serializable {

    private static final Logger LOGGER = LoggerFactory.getLogger(DevDepartment.class);

    /**
     * 名称
     */
    private final String name = "开发部";

    /**
     * 经理
     */
    private Manager manager;


    public DevDepartment(Manager manager) {
        this.manager = manager;
    }


    @Override
    public Department parent() {
        return null;
    }

    @Override
    public void responsible() {
        LOGGER.info("DevDepartment responsible()...");
    }

    @Override
    public Department children() {
        return null;
    }

}
